package com.xiaowu.netmusic.domain.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("favorite")
public class Favorite implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private Long songId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
